Papers with Context-aware prOMpting based comMIt-message generaTion
Leveraging Context-Aware Prompting for Commit Message Generation (2024.emnlp-main)
Copied to clipboard
| Challenge: | Existing methods for writing comprehensive commit messages focus on the changed lines or nearest context lines, but excessive contexts can lead to noise. |
| Approach: | They propose a code model COMMIT that can generate automatic commit messages by combining a dataset with a context-aware prompt. |
| Outcome: | The proposed model surpasses all existing models including pre-trained language models for code and large language models such as Code-LlaMa. |